
export default (date) => {
    let resDate = new Date(date); // 获取时间戳
    resDate = resDate.toLocaleString(); // 转成字符串 2016/12/21 09:09:10
    return resDate;
}